'use strict';
/** @type {string} */
var arg1 = "6FD4137E39541F69EE2CAD30AC74982760D91911";
/** @type {!Array} */
var _0x4818 = ["csKHwqMI", "ZsKJwr8VeAsy", "UcKiN8O/wplwMA==", "JR8CTg==", "YsOnbSEQw7ozwqZKesKUw7kwX8ORIQ==", "w7oVS8OSwoPCl3jChMKhw6HDlsKXw4s/YsOG", "fwVmI1AtwplaY8Otw5cNfSgpw6M=", "OcONwrjCqsKxTGTChsOjEWE8PcOcJ8K6", "U8K5LcOtwpV0EMOkw47DrMOX", "HMO2woHCiMK9SlXClcOoC1k=", "asKIwqMDdgMuPsOKBMKcwrrCtkLDrMKBw64d", "wqImMT0tw6RNw5k=", "DMKcU0JmUwUv", "VjHDlMOHVcONX3fDicKJHQ==", "wqhBH8Knw4TDhSDDgMOdwrjCncOWwphhN8KCGcKqw6dHAU5+wrg2JcKaw4IEJcOcwrRJwoZ0wqF9YgAV", "dzd2w5bDm3jDpsK3wpY=", "w4PDgcKXwo3CkcKLwr5qwrY=",
    "wrJOTcOQWMOg", "wqTDvcOjw447wr4=", "w5XDqsKhMF1/", "wrAyHsOfwppc", "J3dVPcOxLg==", "wrdHw7p9Zw==", "w4rDo8KmNEw=", "IMKAUkBt", "w6bDrcKQwpVHwpNQwqU=", "d8OsWhAUw7YzwrU=", "wqnCksOeezrDhw==", "UsKnIMKWV8K/", "w4zDocK8NUZv", "c8OxZhAJw6skwqJj", "PcKIw4nCkkVb", "KHgodMO2VQ==", "wpsmwqvDnGFq", "wqLDt8Okw4c=", "w7w1w4PCpsO4wqA=", "wq9FRsOqWMOq", "byBhw7rDm34=", "LHg+S8OtTw==", "wqhOw715dsOH", "U8O7VsO0wqvDvcKuKsOqX8Kr", "Yittw5DDnWnDrA==", "YMKIwqUUfgIk", "aB7DlMODTQ==", "wpfDh8Orw6kk", "w7vCqMOrY8KAVk5OwpnCu8OaXsKZP3DClcKyw6HDrQ==",
    "wow+w6vDmHpsw7Rtwo98LC7CiG7CksORT8KlW8O5wr3Di8OTHsODeHjDmcKlJsKqVA==", "NwV+", "w7HDrcKtwpJawpZb", "wpQswqvDiHpuw6I=", "YMKUwqMJZQ==", "KH1VKcOqKsK1", "fQ5sFUkkwpI=", "wrvCrcOBR8Kk", "M3w0fQ==", "w6xXwqPDvMOFwo5d"];
(function(params, content) {
    /**
     * @param {?} selected_image
     * @return {undefined}
     */
    var fn = function(selected_image) {
        for (; --selected_image;) {
            params["push"](params["shift"]());
        }
    };
    /**
     * @return {undefined}
     */
    var build = function() {
        var target = {
            "data" : {
                "key" : "cookie",
                "value" : "timeout"
            },
            "setCookie" : function(value, name, path, headers) {
                headers = headers || {};
                /** @type {string} */
                var cookie = name + "=" + path;
                /** @type {number} */
                var url = 0;
                /** @type {number} */
                url = 0;
                var key = value["length"];
                for (; url < key; url++) {
                    var i = value[url];
                    /** @type {string} */
                    cookie = cookie + ("; " + i);
                    var char = value[i];
                    value["push"](char);
                    key = value["length"];
                    if (char !== !![]) {
                        /** @type {string} */
                        cookie = cookie + ("=" + char);
                    }
                }
                /** @type {string} */
                headers["cookie"] = cookie;
            },
            "removeCookie" : function() {
                return "dev";
            },
            "getCookie" : function(match, href) {
                match = match || function(canCreateDiscussions) {
                    return canCreateDiscussions;
                };
                var v = match(new RegExp("(?:^|; )" + href["replace"](/([.$?*|{}()[]\/+^])/g, "$1") + "=([^;]*)"));
                /**
                 * @param {!Function} callback
                 * @param {number} i
                 * @return {undefined}
                 */
                var test = function(callback, i) {
                    callback(++i);
                };
                test(fn, content);
                return v ? decodeURIComponent(v[1]) : undefined;
            }
        };
        /**
         * @return {?}
         */
        var init = function() {
            /** @type {!RegExp} */
            var test = new RegExp("\\w+ *\\(\\) *{\\w+ *['|\"].+['|\"];? *}");
            return test["test"](target["removeCookie"]["toString"]());
        };
        /** @type {function(): ?} */
        target["updateCookie"] = init;
        /** @type {string} */
        var array = "";
        var _0x120551 = target["updateCookie"]();
        if (!_0x120551) {
            target["setCookie"](["*"], "counter", 1);
        } else {
            if (_0x120551) {
                array = target["getCookie"](null, "counter");
            } else {
                target["removeCookie"]();
            }
        }
    };
    build();
})(_0x4818, 347);
/**
 * @param {string} str
 * @param {string} desiredLength
 * @return {?}
 */
var _0x55f3 = function(str, desiredLength) {
    /** @type {number} */
    str = parseInt(str, 16);
    var ret = _0x4818[str];
    if (!_0x55f3["atobPolyfillAppended"]) {
        (function() {
            var evaluate = Function("return (function () " + '{}.constructor("return this")()' + ");");
            var lval = evaluate();
            /** @type {string} */
            var listeners = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
            if (!lval["atob"]) {
                /**
                 * @param {?} i
                 * @return {?}
                 */
                lval["atob"] = function(i) {
                    var str = String(i)["replace"](/=+$/, "");
                    /** @type {number} */
                    var bc = 0;
                    var bs;
                    var buffer;
                    /** @type {number} */
                    var Y = 0;
                    /** @type {string} */
                    var pix_color = "";
                    for (; buffer = str["charAt"](Y++); ~buffer && (bs = bc % 4 ? bs * 64 + buffer : buffer, bc++ % 4) ? pix_color = pix_color + String["fromCharCode"](255 & bs >> (-2 * bc & 6)) : 0) {
                        buffer = listeners["indexOf"](buffer);
                    }
                    return pix_color;
                };
            }
        })();
        /** @type {boolean} */
        _0x55f3["atobPolyfillAppended"] = !![];
    }
    if (!_0x55f3["rc4"]) {
        /**
         * @param {string} data
         * @param {!Object} fn
         * @return {?}
         */
        var testcase = function(data, fn) {
            /** @type {!Array} */
            var secretKey = [];
            /** @type {number} */
            var y = 0;
            var temp;
            /** @type {string} */
            var testResult = "";
            /** @type {string} */
            var tempData = "";
            /** @type {string} */
            data = atob(data);
            /** @type {number} */
            var val = 0;
            var key = data["length"];
            for (; val < key; val++) {
                /** @type {string} */
                tempData = tempData + ("%" + ("00" + data["charCodeAt"](val)["toString"](16))["slice"](-2));
            }
            /** @type {string} */
            data = decodeURIComponent(tempData);
            /** @type {number} */
            var x = 0;
            for (; x < 256; x++) {
                /** @type {number} */
                secretKey[x] = x;
            }
            /** @type {number} */
            x = 0;
            for (; x < 256; x++) {
                /** @type {number} */
                y = (y + secretKey[x] + fn["charCodeAt"](x % fn["length"])) % 256;
                temp = secretKey[x];
                secretKey[x] = secretKey[y];
                secretKey[y] = temp;
            }
            /** @type {number} */
            x = 0;
            /** @type {number} */
            y = 0;
            /** @type {number} */
            var i = 0;
            for (; i < data["length"]; i++) {
                /** @type {number} */
                x = (x + 1) % 256;
                /** @type {number} */
                y = (y + secretKey[x]) % 256;
                temp = secretKey[x];
                secretKey[x] = secretKey[y];
                secretKey[y] = temp;
                testResult = testResult + String["fromCharCode"](data["charCodeAt"](i) ^ secretKey[(secretKey[x] + secretKey[y]) % 256]);
            }
            return testResult;
        };
        /** @type {function(string, !Object): ?} */
        _0x55f3["rc4"] = testcase;
    }
    if (!_0x55f3["data"]) {
        _0x55f3["data"] = {};
    }
    if (_0x55f3["data"][str] === undefined) {
        if (!_0x55f3["once"]) {
            /**
             * @param {?} state
             * @return {undefined}
             */
            var addState = function(state) {
                this["rc4Bytes"] = state;
                /** @type {!Array} */
                this["states"] = [1, 0, 0];
                /**
                 * @return {?}
                 */
                this["newState"] = function() {
                    return "newState";
                };
                /** @type {string} */
                this["firstState"] = "\\w+ *\\(\\) *{\\w+ *";
                /** @type {string} */
                this["secondState"] = "['|\"].+['|\"];? *}";
            };
            /**
             * @return {?}
             */
            addState["prototype"]["checkState"] = function() {
                /** @type {!RegExp} */
                var test = new RegExp(this["firstState"] + this["secondState"]);
                return this["runState"](test["test"](this["newState"]["toString"]()) ? --this["states"][1] : --this["states"][0]);
            };
            /**
             * @param {?} canCreateDiscussions
             * @return {?}
             */
            addState["prototype"]["runState"] = function(canCreateDiscussions) {
                if (!Boolean(~canCreateDiscussions)) {
                    return canCreateDiscussions;
                }
                return this["getState"](this["rc4Bytes"]);
            };
            /**
             * @param {?} saveNotifs
             * @return {?}
             */
            addState["prototype"]["getState"] = function(saveNotifs) {
                /** @type {number} */
                var fp = 0;
                var len = this["states"]["length"];
                for (; fp < len; fp++) {
                    this["states"]["push"](Math["round"](Math["random"]()));
                    len = this["states"]["length"];
                }
                return saveNotifs(this["states"][0]);
            };
            (new addState(_0x55f3))["checkState"]();
            /** @type {boolean} */
            _0x55f3["once"] = !![];
        }
        ret = _0x55f3["rc4"](ret, desiredLength);
        _0x55f3["data"][str] = ret;
    } else {
        ret = _0x55f3["data"][str];
    }
    return ret;
};
/** @type {null} */
var arg3 = null;
/** @type {null} */
var arg4 = null;
/** @type {null} */
var arg5 = null;
/** @type {null} */
var arg6 = null;
/** @type {null} */
var arg7 = null;
/** @type {null} */
var arg8 = null;
/** @type {null} */
var arg9 = null;
/** @type {null} */
var arg10 = null;
/**
 * @return {undefined}
 */
var l = function() {
    for (; window[_0x55f3("0x1", "XMW^")] || window["__phantomas"];) {
    }
    var data = _0x55f3("0x3", "jS1Y");
    /**
     * @param {?} array
     * @return {?}
     */
    String[_0x55f3("0x5", "n]fR")][_0x55f3("0x6", "Pg54")] = function(array) {
        /** @type {string} */
        var pix_color = "";
        /** @type {number} */
        var i = 0;
        for (; i < this[_0x55f3("0x8", ")hRc")] && i < array[_0x55f3("0xa", "jE&^")]; i = i + 2) {
            /** @type {number} */
            var $111 = parseInt(this[_0x55f3("0xb", "V2KE")](i, i + 2), 16);
            /** @type {number} */
            var $y = parseInt(array[_0x55f3("0xd", "XMW^")](i, i + 2), 16);
            var pix_base = ($111 ^ $y)[_0x55f3("0xf", "W1FE")](16);
            if (pix_base[_0x55f3("0x11", "MGrv")] == 1) {
                /** @type {string} */
                pix_base = "0" + pix_base;
            }
            /** @type {string} */
            pix_color = pix_color + pix_base;
        }
        return pix_color;
    };
    /**
     * @return {?}
     */
    String["prototype"][_0x55f3("0x14", "Z*DM")] = function() {
        /** @type {!Array} */
        var animationConfigs = [15, 35, 29, 24, 33, 16, 1, 38, 10, 9, 19, 31, 40, 27, 22, 23, 25, 13, 6, 11, 39, 18, 20, 8, 14, 21, 32, 26, 2, 30, 7, 4, 17, 5, 3, 28, 34, 37, 12, 36];
        /** @type {!Array} */
        var a = [];
        /** @type {string} */
        var folderToList = "";
        /** @type {number} */
        var i = 0;
        for (; i < this["length"]; i++) {
            var className = this[i];
            /** @type {number} */
            var event = 0;
            for (; event < animationConfigs[_0x55f3("0x16", "aH*N")]; event++) {
                if (animationConfigs[event] == i + 1) {
                    a[event] = className;
                }
            }
        }
        folderToList = a["join"]("");
        return folderToList;
    };
    var loader_calback = arg1[_0x55f3("0x19", "Pg54")]();
    arg2 = loader_calback[_0x55f3("0x1b", "z5O&")](data);
    setTimeout("reload(arg2)", 1642);
};
/**
 * @return {undefined}
 */
var _0x4db1c = function() {
    /**
     * @param {number} i
     * @return {undefined}
     */
    function _next(i) {
        if (("" + i / i)[_0x55f3("0x1c", "V2KE")] !== 1 || i % 20 === 0) {
            (function() {
            })[_0x55f3("0x1d", "CNUY")]((undefined + "")[2] + (!![] + "")[3] + ([][_0x55f3("0x1e", "w8PR")]() + "")[2] + (undefined + "")[0] + (![] + [0] + String)[20] + (![] + [0] + String)[20] + (!![] + "")[3] + (!![] + "")[1])();
        } else {
            (function() {
            })["constructor"]((undefined + "")[2] + (!![] + "")[3] + ([][_0x55f3("0x1f", "L$(D")]() + "")[2] + (undefined + "")[0] + (![] + [0] + String)[20] + (![] + [0] + String)[20] + (!![] + "")[3] + (!![] + "")[1])();
        }
        _next(++i);
    }
    try {
        _next(0);
    } catch (_0x54c483) {
    }
};
if (function() {
    var getAlignItem = function() {
        /** @type {boolean} */
        var closeExpr = !![];
        return function(object__360, function__361) {
            /** @type {!Function} */
            var closingExpr = closeExpr ? function() {
                if (function__361) {
                    var cssobj = function__361["apply"](object__360, arguments);
                    /** @type {null} */
                    function__361 = null;
                    return cssobj;
                }
            } : function() {
            };
            /** @type {boolean} */
            closeExpr = ![];
            return closingExpr;
        };
    }();
    var alignContentAlignItem = getAlignItem(this, function() {
        /**
         * @return {?}
         */
        var intval = function() {
            return "dev";
        };
        /**
         * @return {?}
         */
        var getDOMPath = function() {
            return "window";
        };
        /**
         * @return {?}
         */
        var testcase = function() {
            /** @type {!RegExp} */
            var test = new RegExp("\\w+ *\\(\\) *{\\w+ *['|\"].+['|\"];? *}");
            return !test["test"](intval["toString"]());
        };
        /**
         * @return {?}
         */
        var _stringify = function() {
            /** @type {!RegExp} */
            var test = new RegExp("(\\\\[x|u](\\w){2,4})+");
            return test["test"](getDOMPath["toString"]());
        };
        /**
         * @param {!Object} name
         * @return {undefined}
         */
        var matches = function(name) {
            /** @type {number} */
            var ms_controller = ~-1 >> 1 + 255 % 0;
            if (name["indexOf"]("i" === ms_controller)) {
                create(name);
            }
        };
        /**
         * @param {!Object} func
         * @return {undefined}
         */
        var create = function(func) {
            /** @type {number} */
            var _0x4e08d8 = ~-4 >> 1 + 255 % 0;
            if (func["indexOf"]((!![] + "")[3]) !== _0x4e08d8) {
                matches(func);
            }
        };
        if (!testcase()) {
            if (!_stringify()) {
                matches("ind\u0435xOf");
            } else {
                matches("indexOf");
            }
        } else {
            matches("ind\u0435xOf");
        }
    });
    alignContentAlignItem();
    var isRowDirection = function() {
        /** @type {boolean} */
        var closeExpr = !![];
        return function(value, deferred) {
            /** @type {!Function} */
            var closingExpr = closeExpr ? function() {
                if (deferred) {
                    var mom = deferred[_0x55f3("0x21", "KN)F")](value, arguments);
                    /** @type {null} */
                    deferred = null;
                    return mom;
                }
            } : function() {
            };
            /** @type {boolean} */
            closeExpr = ![];
            return closingExpr;
        };
    }();
    var isMainRowDirection = isRowDirection(this, function() {
        var evaluate = Function(_0x55f3("0x22", "&hZY") + _0x55f3("0x23", "aH*N") + ");");
        /**
         * @return {undefined}
         */
        var oldConsoleLog = function() {
        };
        var responses = evaluate();
        /** @type {function(): undefined} */
        responses[_0x55f3("0x26", "aH*N")]["log"] = oldConsoleLog;
        /** @type {function(): undefined} */
        responses[_0x55f3("0x29", "V%YR")][_0x55f3("0x2a", "P^Eq")] = oldConsoleLog;
        /** @type {function(): undefined} */
        responses[_0x55f3("0x2c", "lgM0")][_0x55f3("0x2d", "L$(D")] = oldConsoleLog;
        /** @type {function(): undefined} */
        responses[_0x55f3("0x2f", "CZc8")][_0x55f3("0x30", "Wu6%")] = oldConsoleLog;
    });
    isMainRowDirection();
    try {
        return !!window["addEventListener"];
    } catch (_0x35538d) {
        return ![];
    }
}()) {
    document[_0x55f3("0x33", "V%YR")](_0x55f3("0x34", "yApz"), l, ![]);
} else {
    document[_0x55f3("0x36", "yApz")](_0x55f3("0x37", "L$(D"), l);
}
_0x4db1c();
setInterval(function() {
    _0x4db1c();
}, 4E3);
/**
 * @param {string} name
 * @param {string} value
 * @return {undefined}
 */
function setCookie(name, value) {
    /** @type {!Date} */
    var dateExpires = new Date;
    dateExpires.setTime(dateExpires.getTime() + 3600 * 1000);
    /** @type {string} */
    document.cookie = name + "=" + value + ";expires=" + dateExpires.toGMTString() + ";max-age=3600;path=/";
}
/**
 * @param {string} uid
 * @return {undefined}
 */
function reload(uid) {
    setCookie("acw_sc__v2", uid);
    document.location.reload();
}
/**
 * @param {string} bin
 * @param {number} size
 * @return {?}
 */
function chunkData(bin, size) {
    /** @type {!Array} */
    var results = [];
    var length = bin.length;
    /** @type {number} */
    var i = 0;
    for (; i < length; i = i + size) {
        if (i + size < length) {
            results.push(bin.substring(i, i + size));
        } else {
            results.push(bin.substring(i, length));
        }
    }
    return results;
}
const get = (doc, key) => {
    return doc.getElementById(key);
};
